﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace Quan_Ly_Phong_Kham_co_len_em
{
    public partial class frmtimkiem : Form
    {
        public frmtimkiem()
        {
            InitializeComponent();
        }

        private void textBoxX2_TextChanged(object sender, EventArgs e)
        {

        }

        public SqlConnection getconnect()
        {
            return new SqlConnection("Data Source=NGUYENTY-PC\\SQLEXPRESS;Initial Catalog=QL_PHONGKHAM;Integrated Security=True");

        }     

        private void bt_timkiem_Click(object sender, EventArgs e)
        {
            dt_timkiem.ClearSelection();

             SqlConnection ketnoi = getconnect();
            SqlCommand command = new SqlCommand();
            command.CommandType = CommandType.Text;


        }
    }
}
